import os
from get_btc_block import get_btc_block_by_height
for i in range(886400, 886547):
    file_height = 'E:/blocks/btc/by_height/' + str(i) + '.pkl'
    if not os.path.exists(file_height):
        print('missing block', i)
        get_btc_block_by_height(i)
